package com.gec.content.service.impl;

import com.gec.content.service.ContentCategoryService;
import com.gec.mall.mapper.TbContentCategoryMapper;
import com.gec.mall.pojo.TbContentCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: li
 * @Date: 2023/2/6
 * @PACKAGE_NAME:com.gec.content.service.impl
 * @Project_Name:mall-parent
 * @VERSION: 1.0.0
 */
@Service
public class ContentCategoryServiceImpl implements ContentCategoryService {

    @Autowired
    private TbContentCategoryMapper contentCategoryMapper;

    @Override
    public List<TbContentCategory> getContentCategoryList() {
        return contentCategoryMapper.selectByExample(null);
    }
}
